package com.plian.system.mapper.pf;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.plian.system.entity.pf.SalarySummaryRelation;
import com.plian.system.vo.pf.GrantSalarySummaryDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author
 * @since 2019-09-27
 */
public interface SalarySummaryRelationMapper extends BaseMapper<SalarySummaryRelation> {

    /**
     * 获取合计明细
     * @param baseGrantSalaryId
     * @param countCategoryId
     * @param columnName
     * @return
     */
    List<GrantSalarySummaryDetailVO> summaryDetail(@Param("baseGrantSalaryId") Long baseGrantSalaryId,
                                                   @Param("countCategoryId") String countCategoryId,
                                                   @Param("columnName") String columnName);

}
